package com.cn.jdia.dc.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.cn.jdia.dc.dao.ServerdiskMapper;
import com.cn.jdia.dc.model.Serverdisk;
import com.cn.jdia.dc.service.IServerdiskService;

@Service("svdiskService")
public class IServerdiskServiceImpl implements IServerdiskService{

	@Resource
	private ServerdiskMapper serverdiskDao;
	
	@Override
	public List<Serverdisk> queryServerdiskByServer(String servername, String serverip) {
		return this.serverdiskDao.selectByServer(servername, serverip);
	}

	@Override
	public List<Serverdisk> queryAll() {
		return this.serverdiskDao.selectAll();
	}

}
